package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PProjectInventoryMarkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PProjectInventoryMarkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPimIdIsNull() {
            addCriterion("pim_id is null");
            return (Criteria) this;
        }

        public Criteria andPimIdIsNotNull() {
            addCriterion("pim_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimIdEqualTo(Integer value) {
            addCriterion("pim_id =", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotEqualTo(Integer value) {
            addCriterion("pim_id <>", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdGreaterThan(Integer value) {
            addCriterion("pim_id >", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_id >=", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdLessThan(Integer value) {
            addCriterion("pim_id <", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_id <=", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdIn(List<Integer> values) {
            addCriterion("pim_id in", values, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotIn(List<Integer> values) {
            addCriterion("pim_id not in", values, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_id between", value1, value2, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_id not between", value1, value2, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimCodeIsNull() {
            addCriterion("pim_code is null");
            return (Criteria) this;
        }

        public Criteria andPimCodeIsNotNull() {
            addCriterion("pim_code is not null");
            return (Criteria) this;
        }

        public Criteria andPimCodeEqualTo(String value) {
            addCriterion("pim_code =", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeNotEqualTo(String value) {
            addCriterion("pim_code <>", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeGreaterThan(String value) {
            addCriterion("pim_code >", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pim_code >=", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeLessThan(String value) {
            addCriterion("pim_code <", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeLessThanOrEqualTo(String value) {
            addCriterion("pim_code <=", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeLike(String value) {
            addCriterion("pim_code like", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeNotLike(String value) {
            addCriterion("pim_code not like", value, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeIn(List<String> values) {
            addCriterion("pim_code in", values, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeNotIn(List<String> values) {
            addCriterion("pim_code not in", values, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeBetween(String value1, String value2) {
            addCriterion("pim_code between", value1, value2, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimCodeNotBetween(String value1, String value2) {
            addCriterion("pim_code not between", value1, value2, "pimCode");
            return (Criteria) this;
        }

        public Criteria andPimRppIdIsNull() {
            addCriterion("pim_rpp_id is null");
            return (Criteria) this;
        }

        public Criteria andPimRppIdIsNotNull() {
            addCriterion("pim_rpp_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimRppIdEqualTo(Integer value) {
            addCriterion("pim_rpp_id =", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdNotEqualTo(Integer value) {
            addCriterion("pim_rpp_id <>", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdGreaterThan(Integer value) {
            addCriterion("pim_rpp_id >", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_rpp_id >=", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdLessThan(Integer value) {
            addCriterion("pim_rpp_id <", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_rpp_id <=", value, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdIn(List<Integer> values) {
            addCriterion("pim_rpp_id in", values, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdNotIn(List<Integer> values) {
            addCriterion("pim_rpp_id not in", values, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_rpp_id between", value1, value2, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimRppIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_rpp_id not between", value1, value2, "pimRppId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdIsNull() {
            addCriterion("pim_proposer_id is null");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdIsNotNull() {
            addCriterion("pim_proposer_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdEqualTo(Integer value) {
            addCriterion("pim_proposer_id =", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdNotEqualTo(Integer value) {
            addCriterion("pim_proposer_id <>", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdGreaterThan(Integer value) {
            addCriterion("pim_proposer_id >", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_proposer_id >=", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdLessThan(Integer value) {
            addCriterion("pim_proposer_id <", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_proposer_id <=", value, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdIn(List<Integer> values) {
            addCriterion("pim_proposer_id in", values, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdNotIn(List<Integer> values) {
            addCriterion("pim_proposer_id not in", values, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_proposer_id between", value1, value2, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimProposerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_proposer_id not between", value1, value2, "pimProposerId");
            return (Criteria) this;
        }

        public Criteria andPimDateIsNull() {
            addCriterion("pim_date is null");
            return (Criteria) this;
        }

        public Criteria andPimDateIsNotNull() {
            addCriterion("pim_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimDateEqualTo(Date value) {
            addCriterion("pim_date =", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotEqualTo(Date value) {
            addCriterion("pim_date <>", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateGreaterThan(Date value) {
            addCriterion("pim_date >", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_date >=", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateLessThan(Date value) {
            addCriterion("pim_date <", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_date <=", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateIn(List<Date> values) {
            addCriterion("pim_date in", values, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotIn(List<Date> values) {
            addCriterion("pim_date not in", values, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateBetween(Date value1, Date value2) {
            addCriterion("pim_date between", value1, value2, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_date not between", value1, value2, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIsNull() {
            addCriterion("pim_remark is null");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIsNotNull() {
            addCriterion("pim_remark is not null");
            return (Criteria) this;
        }

        public Criteria andPimRemarkEqualTo(String value) {
            addCriterion("pim_remark =", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotEqualTo(String value) {
            addCriterion("pim_remark <>", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkGreaterThan(String value) {
            addCriterion("pim_remark >", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("pim_remark >=", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLessThan(String value) {
            addCriterion("pim_remark <", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLessThanOrEqualTo(String value) {
            addCriterion("pim_remark <=", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLike(String value) {
            addCriterion("pim_remark like", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotLike(String value) {
            addCriterion("pim_remark not like", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIn(List<String> values) {
            addCriterion("pim_remark in", values, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotIn(List<String> values) {
            addCriterion("pim_remark not in", values, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkBetween(String value1, String value2) {
            addCriterion("pim_remark between", value1, value2, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotBetween(String value1, String value2) {
            addCriterion("pim_remark not between", value1, value2, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeIsNull() {
            addCriterion("pim_ity_type is null");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeIsNotNull() {
            addCriterion("pim_ity_type is not null");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeEqualTo(String value) {
            addCriterion("pim_ity_type =", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeNotEqualTo(String value) {
            addCriterion("pim_ity_type <>", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeGreaterThan(String value) {
            addCriterion("pim_ity_type >", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pim_ity_type >=", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeLessThan(String value) {
            addCriterion("pim_ity_type <", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeLessThanOrEqualTo(String value) {
            addCriterion("pim_ity_type <=", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeLike(String value) {
            addCriterion("pim_ity_type like", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeNotLike(String value) {
            addCriterion("pim_ity_type not like", value, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeIn(List<String> values) {
            addCriterion("pim_ity_type in", values, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeNotIn(List<String> values) {
            addCriterion("pim_ity_type not in", values, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeBetween(String value1, String value2) {
            addCriterion("pim_ity_type between", value1, value2, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimItyTypeNotBetween(String value1, String value2) {
            addCriterion("pim_ity_type not between", value1, value2, "pimItyType");
            return (Criteria) this;
        }

        public Criteria andPimNumIsNull() {
            addCriterion("pim_num is null");
            return (Criteria) this;
        }

        public Criteria andPimNumIsNotNull() {
            addCriterion("pim_num is not null");
            return (Criteria) this;
        }

        public Criteria andPimNumEqualTo(Double value) {
            addCriterion("pim_num =", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotEqualTo(Double value) {
            addCriterion("pim_num <>", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumGreaterThan(Double value) {
            addCriterion("pim_num >", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_num >=", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumLessThan(Double value) {
            addCriterion("pim_num <", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumLessThanOrEqualTo(Double value) {
            addCriterion("pim_num <=", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumIn(List<Double> values) {
            addCriterion("pim_num in", values, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotIn(List<Double> values) {
            addCriterion("pim_num not in", values, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumBetween(Double value1, Double value2) {
            addCriterion("pim_num between", value1, value2, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotBetween(Double value1, Double value2) {
            addCriterion("pim_num not between", value1, value2, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimWeightIsNull() {
            addCriterion("pim_weight is null");
            return (Criteria) this;
        }

        public Criteria andPimWeightIsNotNull() {
            addCriterion("pim_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPimWeightEqualTo(Double value) {
            addCriterion("pim_weight =", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotEqualTo(Double value) {
            addCriterion("pim_weight <>", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightGreaterThan(Double value) {
            addCriterion("pim_weight >", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_weight >=", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightLessThan(Double value) {
            addCriterion("pim_weight <", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightLessThanOrEqualTo(Double value) {
            addCriterion("pim_weight <=", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightIn(List<Double> values) {
            addCriterion("pim_weight in", values, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotIn(List<Double> values) {
            addCriterion("pim_weight not in", values, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightBetween(Double value1, Double value2) {
            addCriterion("pim_weight between", value1, value2, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotBetween(Double value1, Double value2) {
            addCriterion("pim_weight not between", value1, value2, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimExecDateIsNull() {
            addCriterion("pim_exec_date is null");
            return (Criteria) this;
        }

        public Criteria andPimExecDateIsNotNull() {
            addCriterion("pim_exec_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimExecDateEqualTo(Date value) {
            addCriterion("pim_exec_date =", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateNotEqualTo(Date value) {
            addCriterion("pim_exec_date <>", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateGreaterThan(Date value) {
            addCriterion("pim_exec_date >", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_exec_date >=", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateLessThan(Date value) {
            addCriterion("pim_exec_date <", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_exec_date <=", value, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateIn(List<Date> values) {
            addCriterion("pim_exec_date in", values, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateNotIn(List<Date> values) {
            addCriterion("pim_exec_date not in", values, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateBetween(Date value1, Date value2) {
            addCriterion("pim_exec_date between", value1, value2, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_exec_date not between", value1, value2, "pimExecDate");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdIsNull() {
            addCriterion("pim_executor_id is null");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdIsNotNull() {
            addCriterion("pim_executor_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdEqualTo(Integer value) {
            addCriterion("pim_executor_id =", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdNotEqualTo(Integer value) {
            addCriterion("pim_executor_id <>", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdGreaterThan(Integer value) {
            addCriterion("pim_executor_id >", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_executor_id >=", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdLessThan(Integer value) {
            addCriterion("pim_executor_id <", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_executor_id <=", value, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdIn(List<Integer> values) {
            addCriterion("pim_executor_id in", values, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdNotIn(List<Integer> values) {
            addCriterion("pim_executor_id not in", values, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_executor_id between", value1, value2, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_executor_id not between", value1, value2, "pimExecutorId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIsNull() {
            addCriterion("pim_before_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIsNotNull() {
            addCriterion("pim_before_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdEqualTo(Integer value) {
            addCriterion("pim_before_ity_id =", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotEqualTo(Integer value) {
            addCriterion("pim_before_ity_id <>", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdGreaterThan(Integer value) {
            addCriterion("pim_before_ity_id >", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_before_ity_id >=", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdLessThan(Integer value) {
            addCriterion("pim_before_ity_id <", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_before_ity_id <=", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIn(List<Integer> values) {
            addCriterion("pim_before_ity_id in", values, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotIn(List<Integer> values) {
            addCriterion("pim_before_ity_id not in", values, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_before_ity_id between", value1, value2, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_before_ity_id not between", value1, value2, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeIsNull() {
            addCriterion("pim_before_pro_code is null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeIsNotNull() {
            addCriterion("pim_before_pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeEqualTo(String value) {
            addCriterion("pim_before_pro_code =", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeNotEqualTo(String value) {
            addCriterion("pim_before_pro_code <>", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeGreaterThan(String value) {
            addCriterion("pim_before_pro_code >", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pim_before_pro_code >=", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeLessThan(String value) {
            addCriterion("pim_before_pro_code <", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeLessThanOrEqualTo(String value) {
            addCriterion("pim_before_pro_code <=", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeLike(String value) {
            addCriterion("pim_before_pro_code like", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeNotLike(String value) {
            addCriterion("pim_before_pro_code not like", value, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeIn(List<String> values) {
            addCriterion("pim_before_pro_code in", values, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeNotIn(List<String> values) {
            addCriterion("pim_before_pro_code not in", values, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeBetween(String value1, String value2) {
            addCriterion("pim_before_pro_code between", value1, value2, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimBeforeProCodeNotBetween(String value1, String value2) {
            addCriterion("pim_before_pro_code not between", value1, value2, "pimBeforeProCode");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIsNull() {
            addCriterion("pim_after_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIsNotNull() {
            addCriterion("pim_after_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdEqualTo(Integer value) {
            addCriterion("pim_after_ity_id =", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotEqualTo(Integer value) {
            addCriterion("pim_after_ity_id <>", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdGreaterThan(Integer value) {
            addCriterion("pim_after_ity_id >", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_after_ity_id >=", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdLessThan(Integer value) {
            addCriterion("pim_after_ity_id <", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_after_ity_id <=", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIn(List<Integer> values) {
            addCriterion("pim_after_ity_id in", values, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotIn(List<Integer> values) {
            addCriterion("pim_after_ity_id not in", values, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_after_ity_id between", value1, value2, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_after_ity_id not between", value1, value2, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIsNull() {
            addCriterion("pim_app_status is null");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIsNotNull() {
            addCriterion("pim_app_status is not null");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusEqualTo(Integer value) {
            addCriterion("pim_app_status =", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotEqualTo(Integer value) {
            addCriterion("pim_app_status <>", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusGreaterThan(Integer value) {
            addCriterion("pim_app_status >", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_app_status >=", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusLessThan(Integer value) {
            addCriterion("pim_app_status <", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pim_app_status <=", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIn(List<Integer> values) {
            addCriterion("pim_app_status in", values, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotIn(List<Integer> values) {
            addCriterion("pim_app_status not in", values, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusBetween(Integer value1, Integer value2) {
            addCriterion("pim_app_status between", value1, value2, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_app_status not between", value1, value2, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdIsNull() {
            addCriterion("pim_out_odr_id is null");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdIsNotNull() {
            addCriterion("pim_out_odr_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdEqualTo(Integer value) {
            addCriterion("pim_out_odr_id =", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdNotEqualTo(Integer value) {
            addCriterion("pim_out_odr_id <>", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdGreaterThan(Integer value) {
            addCriterion("pim_out_odr_id >", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_out_odr_id >=", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdLessThan(Integer value) {
            addCriterion("pim_out_odr_id <", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_out_odr_id <=", value, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdIn(List<Integer> values) {
            addCriterion("pim_out_odr_id in", values, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdNotIn(List<Integer> values) {
            addCriterion("pim_out_odr_id not in", values, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_out_odr_id between", value1, value2, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimOutOdrIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_out_odr_id not between", value1, value2, "pimOutOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdIsNull() {
            addCriterion("pim_in_odr_id is null");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdIsNotNull() {
            addCriterion("pim_in_odr_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdEqualTo(Integer value) {
            addCriterion("pim_in_odr_id =", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdNotEqualTo(Integer value) {
            addCriterion("pim_in_odr_id <>", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdGreaterThan(Integer value) {
            addCriterion("pim_in_odr_id >", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_in_odr_id >=", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdLessThan(Integer value) {
            addCriterion("pim_in_odr_id <", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_in_odr_id <=", value, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdIn(List<Integer> values) {
            addCriterion("pim_in_odr_id in", values, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdNotIn(List<Integer> values) {
            addCriterion("pim_in_odr_id not in", values, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_in_odr_id between", value1, value2, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimInOdrIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_in_odr_id not between", value1, value2, "pimInOdrId");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeIsNull() {
            addCriterion("pim_mat_code is null");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeIsNotNull() {
            addCriterion("pim_mat_code is not null");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeEqualTo(String value) {
            addCriterion("pim_mat_code =", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeNotEqualTo(String value) {
            addCriterion("pim_mat_code <>", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeGreaterThan(String value) {
            addCriterion("pim_mat_code >", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pim_mat_code >=", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeLessThan(String value) {
            addCriterion("pim_mat_code <", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeLessThanOrEqualTo(String value) {
            addCriterion("pim_mat_code <=", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeLike(String value) {
            addCriterion("pim_mat_code like", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeNotLike(String value) {
            addCriterion("pim_mat_code not like", value, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeIn(List<String> values) {
            addCriterion("pim_mat_code in", values, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeNotIn(List<String> values) {
            addCriterion("pim_mat_code not in", values, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeBetween(String value1, String value2) {
            addCriterion("pim_mat_code between", value1, value2, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatCodeNotBetween(String value1, String value2) {
            addCriterion("pim_mat_code not between", value1, value2, "pimMatCode");
            return (Criteria) this;
        }

        public Criteria andPimMatDescIsNull() {
            addCriterion("pim_mat_desc is null");
            return (Criteria) this;
        }

        public Criteria andPimMatDescIsNotNull() {
            addCriterion("pim_mat_desc is not null");
            return (Criteria) this;
        }

        public Criteria andPimMatDescEqualTo(String value) {
            addCriterion("pim_mat_desc =", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescNotEqualTo(String value) {
            addCriterion("pim_mat_desc <>", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescGreaterThan(String value) {
            addCriterion("pim_mat_desc >", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescGreaterThanOrEqualTo(String value) {
            addCriterion("pim_mat_desc >=", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescLessThan(String value) {
            addCriterion("pim_mat_desc <", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescLessThanOrEqualTo(String value) {
            addCriterion("pim_mat_desc <=", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescLike(String value) {
            addCriterion("pim_mat_desc like", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescNotLike(String value) {
            addCriterion("pim_mat_desc not like", value, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescIn(List<String> values) {
            addCriterion("pim_mat_desc in", values, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescNotIn(List<String> values) {
            addCriterion("pim_mat_desc not in", values, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescBetween(String value1, String value2) {
            addCriterion("pim_mat_desc between", value1, value2, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimMatDescNotBetween(String value1, String value2) {
            addCriterion("pim_mat_desc not between", value1, value2, "pimMatDesc");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoIsNull() {
            addCriterion("pim_reject_reaso is null");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoIsNotNull() {
            addCriterion("pim_reject_reaso is not null");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoEqualTo(String value) {
            addCriterion("pim_reject_reaso =", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoNotEqualTo(String value) {
            addCriterion("pim_reject_reaso <>", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoGreaterThan(String value) {
            addCriterion("pim_reject_reaso >", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoGreaterThanOrEqualTo(String value) {
            addCriterion("pim_reject_reaso >=", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoLessThan(String value) {
            addCriterion("pim_reject_reaso <", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoLessThanOrEqualTo(String value) {
            addCriterion("pim_reject_reaso <=", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoLike(String value) {
            addCriterion("pim_reject_reaso like", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoNotLike(String value) {
            addCriterion("pim_reject_reaso not like", value, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoIn(List<String> values) {
            addCriterion("pim_reject_reaso in", values, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoNotIn(List<String> values) {
            addCriterion("pim_reject_reaso not in", values, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoBetween(String value1, String value2) {
            addCriterion("pim_reject_reaso between", value1, value2, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimRejectReasoNotBetween(String value1, String value2) {
            addCriterion("pim_reject_reaso not between", value1, value2, "pimRejectReaso");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusIsNull() {
            addCriterion("pim_data_status is null");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusIsNotNull() {
            addCriterion("pim_data_status is not null");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusEqualTo(String value) {
            addCriterion("pim_data_status =", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusNotEqualTo(String value) {
            addCriterion("pim_data_status <>", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusGreaterThan(String value) {
            addCriterion("pim_data_status >", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusGreaterThanOrEqualTo(String value) {
            addCriterion("pim_data_status >=", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusLessThan(String value) {
            addCriterion("pim_data_status <", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusLessThanOrEqualTo(String value) {
            addCriterion("pim_data_status <=", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusLike(String value) {
            addCriterion("pim_data_status like", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusNotLike(String value) {
            addCriterion("pim_data_status not like", value, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusIn(List<String> values) {
            addCriterion("pim_data_status in", values, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusNotIn(List<String> values) {
            addCriterion("pim_data_status not in", values, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusBetween(String value1, String value2) {
            addCriterion("pim_data_status between", value1, value2, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimDataStatusNotBetween(String value1, String value2) {
            addCriterion("pim_data_status not between", value1, value2, "pimDataStatus");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdIsNull() {
            addCriterion("pim_remove_user_id is null");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdIsNotNull() {
            addCriterion("pim_remove_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdEqualTo(Integer value) {
            addCriterion("pim_remove_user_id =", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdNotEqualTo(Integer value) {
            addCriterion("pim_remove_user_id <>", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdGreaterThan(Integer value) {
            addCriterion("pim_remove_user_id >", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_remove_user_id >=", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdLessThan(Integer value) {
            addCriterion("pim_remove_user_id <", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_remove_user_id <=", value, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdIn(List<Integer> values) {
            addCriterion("pim_remove_user_id in", values, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdNotIn(List<Integer> values) {
            addCriterion("pim_remove_user_id not in", values, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_remove_user_id between", value1, value2, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_remove_user_id not between", value1, value2, "pimRemoveUserId");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateIsNull() {
            addCriterion("pim_remove_date is null");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateIsNotNull() {
            addCriterion("pim_remove_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateEqualTo(Date value) {
            addCriterion("pim_remove_date =", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateNotEqualTo(Date value) {
            addCriterion("pim_remove_date <>", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateGreaterThan(Date value) {
            addCriterion("pim_remove_date >", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_remove_date >=", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateLessThan(Date value) {
            addCriterion("pim_remove_date <", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_remove_date <=", value, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateIn(List<Date> values) {
            addCriterion("pim_remove_date in", values, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateNotIn(List<Date> values) {
            addCriterion("pim_remove_date not in", values, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateBetween(Date value1, Date value2) {
            addCriterion("pim_remove_date between", value1, value2, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimRemoveDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_remove_date not between", value1, value2, "pimRemoveDate");
            return (Criteria) this;
        }

        public Criteria andPimPriceIsNull() {
            addCriterion("pim_price is null");
            return (Criteria) this;
        }

        public Criteria andPimPriceIsNotNull() {
            addCriterion("pim_price is not null");
            return (Criteria) this;
        }

        public Criteria andPimPriceEqualTo(Double value) {
            addCriterion("pim_price =", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotEqualTo(Double value) {
            addCriterion("pim_price <>", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceGreaterThan(Double value) {
            addCriterion("pim_price >", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_price >=", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceLessThan(Double value) {
            addCriterion("pim_price <", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceLessThanOrEqualTo(Double value) {
            addCriterion("pim_price <=", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceIn(List<Double> values) {
            addCriterion("pim_price in", values, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotIn(List<Double> values) {
            addCriterion("pim_price not in", values, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceBetween(Double value1, Double value2) {
            addCriterion("pim_price between", value1, value2, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotBetween(Double value1, Double value2) {
            addCriterion("pim_price not between", value1, value2, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateIsNull() {
            addCriterion("pim_submit_date is null");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateIsNotNull() {
            addCriterion("pim_submit_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateEqualTo(Date value) {
            addCriterion("pim_submit_date =", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateNotEqualTo(Date value) {
            addCriterion("pim_submit_date <>", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateGreaterThan(Date value) {
            addCriterion("pim_submit_date >", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_submit_date >=", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateLessThan(Date value) {
            addCriterion("pim_submit_date <", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_submit_date <=", value, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateIn(List<Date> values) {
            addCriterion("pim_submit_date in", values, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateNotIn(List<Date> values) {
            addCriterion("pim_submit_date not in", values, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateBetween(Date value1, Date value2) {
            addCriterion("pim_submit_date between", value1, value2, "pimSubmitDate");
            return (Criteria) this;
        }

        public Criteria andPimSubmitDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_submit_date not between", value1, value2, "pimSubmitDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}